﻿
namespace Blazor.Services.Device;

public interface IDeviceService
{
    Task AddOrUpdate(Guid id, string desc);

    Task Delete(Guid id);

    ValueTask<IEnumerable<Device>> GetAll();

    ValueTask<string?> GetDescription(Guid id);

    ValueTask<Guid?> GetId(string description);
}